
# 99乘法表
for row in range(1,10):
    for col in range(1,row+1):

        print(col,end=' ')
    print(' ')

print('九九乘法口诀')
for row in range(1,10):
    for col in range(1,row+1):
        print("{row}*{col}={results}".format(row=row, col=col, results=row * col), end='  ')

    print('  ')



# 课程提醒工具
print('课程表')
import datetime
time = datetime.date.today().weekday()
week_time = int(time)
print(week_time)
if week_time==0:
    print('有课');print('1.写作训练');print('2.用户与视觉界面设计')
elif week_time==1:
    print('有课');print('1.AI软件应用');print('2.大学英语')
elif week_time==2:
    print('有课');print('1.毛概');print('2.乒乓球');print('3.python语言');print("学代码真不容易")
elif week_time==3:
    print('有课');print('1.中西方哲学社会研究');print('2.大学英语');print('3.儿童文学')
elif week_time==4:
    print('有课');print('1.毛概实践');print('2.API、机器学习与人工智能')
else:
    print('周末，没有课！该干啥干啥！')
print('over')





# 
import random
random.randint(1,10)

print('小游戏之日常鸡汤')
_name_ = '温桂君'
a = random.randint(1,10)
name = input('你是谁呀：')

if name == _name_ and a == 1:
    print('今日励志语录：知足且坚定 温柔且上进')
elif name == _name_ and a == 2:
    print('今日励志语录：要善良，要勇敢，要像星星一样努力发光')
elif name == _name_ and a == 3:
    print('今日励志语录：半山腰总是最挤的，你得去山顶看看')
elif name == _name_ and a == 4:
    print('今日励志语录：凡事皆有可能，永远别说永远')
elif name == _name_ and a == 5:
    print('今日励志语录：满怀希望就会所向披靡')
elif name == _name_ and a == 6:
    print('今日励志语录：努力的最大意义是让自己随时有能力跳出自己厌恶的圈子')
elif name == _name_ and a == 7:
    print('今日励志语录：宇宙山河浪漫，生活点滴温暖，都值得我前进。')
elif name == _name_ and a == 8:
    print('今日励志语录：万事都要全力以赴 包括开心')
elif name == _name_ and a == 9:
    print('今日励志语录：生活原本沉闷，但跑起来就有风')
elif name == _name_ and a == 10:
    print('今日励志语录：当你足够努力，幸运总会与你不期而遇')
else:
    print('我们都要努力生活呀')